<!-- 底部 -->
<div class="foot">
    <div class="top">
        <div class="width">
            <div class="contain clearboth">
                <div class="left">
                    <ul class="clearboth">
                        <?php
                        $_i = 1;
                        foreach ($this->aryCategoryDataView as $_k1 => $_v1):
                            if ($_k1 > 0 && $_v1['nav_type'] == 0 && $_v1['language'] == $this->__LANGUAGE_ID__):
                                $_tmpLink = App\Tools\UrlHelper::getTypeUrl($this->aryCategoryDataView, $_v1['id_tree']);
                                $_hasChild = App\Tools\Auxi::typeHasChild($this->aryCategoryDataView[$_k1]);
                                $_sltMenu = App\Tools\Auxi::compareSelect($_k1, $this->rootId, 'cur', "" .
                                    ($_hasChild ? '' : '' ));
                                ?>
                                <li<?= $_sltMenu ?>>
                                    <a href="<?= $_tmpLink ?>" class="aTop"><?= $_v1['category_name'] ?></a>
                                    <?php
                                    if ($_hasChild) :
                                        ?>
                                        <p>
                                            <?php
                                            foreach ($this->aryCategoryDataView[$_k1] as $_k3 => $_v3) :
                                                if (is_array($_v3) && $_v3['language'] == $this->__LANGUAGE_ID__):
                                                    $_tmpLink2 = App\Tools\UrlHelper::getTypeUrl($this->aryCategoryDataView, $_v3['id_tree']);
                                                    ?>
                                                    <a href="<?= $_tmpLink2 ?>" class="aNav">
                                                        <?= $_v3['category_name'] ?>
                                                    </a>
                                                <?php
                                                endif;
                                            endforeach;
                                            ?>
                                        </p>
                                    <?php
                                    endif;
                                    ?>
                                </li>
                                <?php
                                $_i++;
                            endif;
                        endforeach;
                        ?>
                    </ul>
                </div>
                <div class="right">
                    <ul class="clearboth">
                        <li>
                            <img src="<?= $this->__STATIC__ ?>images/weCat.png">
								<span>
									骄成官方微信公众号
								</span>
                        </li>
                        <!-- <li>
                            <img src="<?= $this->__STATIC__ ?>images/weCat.png">
								<span>
									骄成官方微博
								</span>
                        </li> -->
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div class="bot">
        <div class="width">
            <div class="contain clearboth">
                <div class="left">
                    <p>
                        上海骄成版权所有.SBT Engineering Systems Co.,Lid.
                    </p>
                </div>
                <div class="right">
                    <ul class="clearboth">
                        <li>
                            <a href="javascript:;">
                                QQ咨询
                            </a>
                        </li>
                        <li>
                            <a href="javascript:;">
                                官方微信
                            </a>
                            <p>
                                <img src="<?= $this->__STATIC__ ?>images/weCat.png">
                            </p>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="<?= $this->__STATIC__ ?>scripts/jquery.js"></script>
<script type="text/javascript" src="<?= $this->__STATIC__ ?>scripts/swiper.js"></script>
<script type="text/javascript" src="<?= $this->__STATIC__ ?>scripts/fun.js"></script>
<script type="text/javascript" src="<?= $this->__STATIC__ ?>scripts/search.js"></script>
<script>
    $('#searches').click(function () {
        var title = $('#search').val();
        if (title == '') {
            alert('请输入搜索内容！');
            return false;
        }
        window.location.href = '/search?title=' + title;
    });
    $('#search').bind('keypress',function(event){
        if(event.keyCode == 13)

        {
            var title = $('#search').val();
            if (title == '') {
                alert('请输入搜索内容！');
                return false;
            }
            window.location.href = '/search?title=' + title;
        }
    });
</script>
</html>